/**
 * 
 */
package org.vsg.stock.basic.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author vison
 *
 */
@Entity
@Table(name = "VSG_STOCK_DAY_INDICATOR")
public class StockDayIndicator implements Serializable {
	
	@Id @Column(name="DAY_INDI_ID") @GeneratedValue(strategy=GenerationType.IDENTITY)		
	private long id ;
	
	@Column(name="STOCK_CODE")
	private String stockCode;
	
	@Column(name="STOCK_DATE")
	private Date stockDate;

	@Column(name="AVG_TICK")
	private double averageTick;
	
	/**
	 * 散户行为买单成交量
	 */
	@Column(name="RETAIL_BUY_VOL")
	private long retailBuyVol;
	
	/**
	 * 散户行为卖单成交量
	 */
	@Column(name="RETAIL_SELL_VOL")
	private long retailSellVol;
	
	/**
	 * 中户行为买单成交量
	 */
	@Column(name="MIDDLE_BUY_VOL")
	private long middleBuyVol;
	
	/**
	 * 中户行为卖单成交量
	 */
	@Column(name="MIDDLE_SELL_VOL")
	private long middleSellVol;
	
	/**
	 * 大户行为买单成交量
	 */
	@Column(name="MAIN_BUY_VOL")
	private long bigBuyVol;
	
	/**
	 * 大户行为卖单成交量
	 */
	@Column(name="MAIN_SELL_VOL")
	private long bigSellVol;
	
	/**
	 * 对倒买单成交量
	 */
	@Column(name="MATCH_ORDER_BUY_VOL")
	private long matchOrderBuyVol;

	/**
	 * 对倒卖单成交量
	 */
	@Column(name="MATCH_ORDER_SELL_VOL")
	private long matchOrderSellVol;

	
	/**
	 * 对倒买单成交额
	 */
	@Column(name="MATCH_ORDER_BUY_AMOUNT")
	private double matchOrderBuyAmount;

	/**
	 * 对倒卖单成交额
	 */
	@Column(name="MATCH_ORDER_SELL_AMOUNT")
	private double matchOrderSellAmount;	
	
	@Column(name="RETAIL_BUY_AMOUNT")	
	private double retailBuyAmount;
	
	@Column(name="RETAIL_SELL_AMOUNT")	
	private double retailSellAmount;

	@Column(name="MIDDLE_BUY_AMOUNT")
	private double middleBuyAmount;	
	
	@Column(name="MIDDLE_SELL_AMOUNT")
	private double middleSellAmount;	

	@Column(name="MAIN_BUY_AMOUNT")
	private double mainBuyAmount;	

	@Column(name="MAIN_SELL_AMOUNT")
	private double mainSellAmount;	

	
	
	
	public double getMatchOrderBuyAmount() {
		return matchOrderBuyAmount;
	}

	public void setMatchOrderBuyAmount(double matchOrderBuyAmount) {
		this.matchOrderBuyAmount = matchOrderBuyAmount;
	}

	public double getMatchOrderSellAmount() {
		return matchOrderSellAmount;
	}

	public void setMatchOrderSellAmount(double matchOrderSellAmount) {
		this.matchOrderSellAmount = matchOrderSellAmount;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}


	public long getRetailBuyVol() {
		return retailBuyVol;
	}

	public void setRetailBuyVol(long smallBuyVol) {
		this.retailBuyVol = smallBuyVol;
	}

	public long getRetailSellVol() {
		return retailSellVol;
	}

	public void setRetailSellVol(long smallSellVol) {
		this.retailSellVol = smallSellVol;
	}

	public long getMiddleBuyVol() {
		return middleBuyVol;
	}

	public void setMiddleBuyVol(long middleBuyVol) {
		this.middleBuyVol = middleBuyVol;
	}

	public long getMiddleSellVol() {
		return middleSellVol;
	}

	public void setMiddleSellVol(long middleSellVol) {
		this.middleSellVol = middleSellVol;
	}

	public long getBigBuyVol() {
		return bigBuyVol;
	}

	public void setBigBuyVol(long bigBuyVol) {
		this.bigBuyVol = bigBuyVol;
	}

	public long getBigSellVol() {
		return bigSellVol;
	}

	public void setBigSellVol(long bigSellVol) {
		this.bigSellVol = bigSellVol;
	}

	public double getAverageTick() {
		return averageTick;
	}

	public void setAverageTick(double averageTick) {
		this.averageTick = averageTick;
	}

	public long getMatchOrderBuyVol() {
		return matchOrderBuyVol;
	}

	public void setMatchOrderBuyVol(long matchOrderBuyVol) {
		this.matchOrderBuyVol = matchOrderBuyVol;
	}

	public long getMatchOrderSellVol() {
		return matchOrderSellVol;
	}

	public void setMatchOrderSellVol(long matchOrderSellVol) {
		this.matchOrderSellVol = matchOrderSellVol;
	}

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public Date getStockDate() {
		return stockDate;
	}

	public void setStockDate(Date stockDate) {
		this.stockDate = stockDate;
	}

	public double getRetailBuyAmount() {
		return retailBuyAmount;
	}

	public void setRetailBuyAmount(double retailBuyAmount) {
		this.retailBuyAmount = retailBuyAmount;
	}

	public double getRetailSellAmount() {
		return retailSellAmount;
	}

	public void setRetailSellAmount(double retailSellAmount) {
		this.retailSellAmount = retailSellAmount;
	}

	public double getMiddleBuyAmount() {
		return middleBuyAmount;
	}

	public void setMiddleBuyAmount(double middleBuyAmount) {
		this.middleBuyAmount = middleBuyAmount;
	}

	public double getMiddleSellAmount() {
		return middleSellAmount;
	}

	public void setMiddleSellAmount(double middleSellAmount) {
		this.middleSellAmount = middleSellAmount;
	}

	public double getMainBuyAmount() {
		return mainBuyAmount;
	}

	public void setMainBuyAmount(double mainBuyAmount) {
		this.mainBuyAmount = mainBuyAmount;
	}

	public double getMainSellAmount() {
		return mainSellAmount;
	}

	public void setMainSellAmount(double mainSellAmount) {
		this.mainSellAmount = mainSellAmount;
	}

}
